package com.topisv.tms.repository.stock.outstorage;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import com.topisv.tms.entity.stock.oustorage.OutstorageBill;

/**
 * 出库单_dao
 * @author ch
 *
 */
public abstract interface OutstorageBillDao extends PagingAndSortingRepository<OutstorageBill, Long>, JpaSpecificationExecutor<OutstorageBill>
{

	@Query("select t from OutstorageBill t where t.billCode=?")
	OutstorageBill loadByBillCode(String billCode);

}